Accord Software, Inc.

tutorial13/union.h




/*
 * Accord Software, Inc.
 *
 * Tutorial 13
 *
 */

#define UNION_PROGNUM   0x20000000 + 13
#define UNION_VERSNUM	1

union foo {
	int ival;
	short sval;
	long lval;
	char *pval;
	float dval;
};

struct primitives {
	int utype;
	union foo u;
};

[ Home | Tutorials | main.c | union.c ]
E-Mail:webmaster@accord.com
[P-073] Updated March 14, 1996
Copyright © 1993-1996 Accord Software, Inc. All rights reserved.